/*
 * @Description:
 * @Author: 胡涛
 * @Date: 2023-09-05 23:22:23
 * @LastEditors: 胡涛
 * @LastEditTime: 2024-01-31 23:30:46
 */
export const enums = {
  AccountType: {
    name: "AccountType",
    description: "AccountType",
    items: [
      {
        name: "AdminUser",
        description: "后台账号",
        value: 1,
      },
      {
        name: "MemberUser",
        description: "会员账号",
        value: 2,
      },
      {
        name: "EnterpriseUser",
        description: "企业账号",
        value: 4,
      },
    ],
  },
  ActionRoleType: {
    name: "ActionRoleType",
    description: "ActionRoleType",
    items: [
      {
        name: "User",
        description: "用户操作",
        value: 1,
      },
      {
        name: "System",
        description: "系统操作",
        value: 2,
      },
    ],
  },
  ExpertAuditState: {
    name: "ExpertAuditState",
    description: "ExpertAuditState",
    items: [
      {
        name: "WaitSubmit",
        description: "待提交审核",
        value: 0,
      },
      {
        name: "Pending",
        description: "待审核",
        value: 1,
      },
      {
        name: "Auditing",
        description: "审核中",
        value: 2,
      },
      {
        name: "Approved",
        description: "审核通过",
        value: 4,
      },
      {
        name: "NotApproved",
        description: "审核不通过",
        value: 8,
      },
    ],
  },
  ExtractMethod: {
    name: "ExtractMethod",
    description: "ExtractMethod",
    items: [
      {
        name: "Automatic",
        description: "自动抽取",
        value: 1,
      },
      {
        name: "Manual",
        description: "手动抽取",
        value: 2,
      },
    ],
  },
  FieldDataType: {
    name: "FieldDataType",
    description: "FieldDataType",
    items: [
      {
        name: "String",
        description: "字符串",
        value: 1,
      },
      {
        name: "Number",
        description: "数值",
        value: 2,
      },
      {
        name: "DateTime",
        description: "日期时间",
        value: 4,
      },
      {
        name: "Boolean",
        description: "布尔",
        value: 8,
      },
      {
        name: "StringArray",
        description: "字符串数组",
        value: 16,
      },
      {
        name: "NumberArray",
        description: "数值型数组",
        value: 32,
      },
      {
        name: "DateTimeArray",
        description: "日期时间数组",
        value: 64,
      },
      {
        name: "BooleanArray",
        description: "布尔数组",
        value: 128,
      },
      {
        name: "ObjectArray",
        description: "复杂数组",
        value: 256,
      },
      {
        name: "Object",
        description: "复杂对象",
        value: 512,
      },
    ],
  },
  FieldInputType: {
    name: "FieldInputType",
    description: "FieldInputType",
    items: [
      {
        name: "System",
        description: "系统默认",
        value: 1,
      },
      {
        name: "TextInput",
        description: "文本输入",
        value: 2,
      },
      {
        name: "DictionarySelect",
        description: "字典选择",
        value: 4,
      },
      {
        name: "UserSelect",
        description: "用户选择",
        value: 8,
      },
      {
        name: "RegionSelect",
        description: "区域选择",
        value: 16,
      },
      {
        name: "EnumSelect",
        description: "枚举选择",
        value: 32,
      },
      {
        name: "CustomSelect",
        description: "自定义下拉",
        value: 64,
      },
    ],
  },
  FieldValueType: {
    name: "FieldValueType",
    description: "FieldValueType",
    items: [
      {
        name: "String",
        description: "字符串",
        value: 1,
      },
      {
        name: "Integer",
        description: "整数",
        value: 2,
      },
      {
        name: "Float",
        description: "小数",
        value: 4,
      },
      {
        name: "DateTime",
        description: "日期时间",
        value: 8,
      },
      {
        name: "Boolean",
        description: "布尔",
        value: 16,
      },
      {
        name: "Guid",
        description: "GUID",
        value: 32,
      },
    ],
  },
  FillingMethod: {
    name: "FillingMethod",
    description: "FillingMethod",
    items: [
      {
        name: "LeftFilling",
        description: "左补位",
        value: 1,
      },
      {
        name: "RightFilling",
        description: "右补位",
        value: 2,
      },
    ],
  },
  HttpMethodEnum: {
    name: "HttpMethodEnum",
    description: "HttpMethodEnum",
    items: [
      {
        name: "GET",
        description: "GET",
        value: 1,
      },
      {
        name: "POST",
        description: "POST",
        value: 2,
      },
      {
        name: "PUT",
        description: "PUT",
        value: 3,
      },
      {
        name: "DELETE",
        description: "DELETE",
        value: 4,
      },
    ],
  },
  InventoryType: {
    name: "InventoryType",
    description: "InventoryType",
    items: [
      {
        name: "PlatformCreate",
        description: "平台录入",
        value: 1,
      },
      {
        name: "EnterpriseCreate",
        description: "企业录入",
        value: 2,
      },
      {
        name: "ApplyAuditInventory",
        description: "注册审核入库",
        value: 4,
      },
    ],
  },
  PermissionSourceKeyType: {
    name: "PermissionSourceKeyType",
    description: "PermissionSourceKeyType",
    items: [
      {
        name: "String",
        description: "String",
        value: 1,
      },
      {
        name: "Guid",
        description: "Guid",
        value: 2,
      },
      {
        name: "Number",
        description: "Number",
        value: 4,
      },
    ],
  },
  PermissionSourceType: {
    name: "PermissionSourceType",
    description: "PermissionSourceType",
    items: [
      {
        name: "Organize",
        description: "组织机构",
        value: 1,
      },
      {
        name: "Region",
        description: "行政区域",
        value: 2,
      },
      {
        name: "Dictionary",
        description: "数据字典",
        value: 4,
      },
      {
        name: "CustomList",
        description: "自定义列表",
        value: 8,
      },
      {
        name: "Remote",
        description: "远程接口",
        value: 16,
      },
    ],
  },
  RandomValueType: {
    name: "RandomValueType",
    description: "RandomValueType",
    items: [
      {
        name: "Number",
        description: "数字",
        value: 1,
      },
      {
        name: "Letter",
        description: "字母",
        value: 2,
      },
      {
        name: "NumberAndLetter",
        description: "字母+数字",
        value: 4,
      },
    ],
  },
  RegionLevel: {
    name: "RegionLevel",
    description: "RegionLevel",
    items: [
      {
        name: "Country",
        description: "国家",
        value: 1,
      },
      {
        name: "Province",
        description: "省",
        value: 2,
      },
      {
        name: "City",
        description: "市",
        value: 4,
      },
      {
        name: "County",
        description: "区县",
        value: 8,
      },
      {
        name: "Township",
        description: "乡镇",
        value: 16,
      },
      {
        name: "Village",
        description: "村",
        value: 32,
      },
      {
        name: "Subset",
        description: "小组",
        value: 64,
      },
    ],
  },
  RegisterType: {
    name: "RegisterType",
    description: "RegisterType",
    items: [
      {
        name: "PhoneNumber",
        description: "手机号码注册",
        value: 1,
      },
      {
        name: "Email",
        description: "邮件验证码注册",
        value: 2,
      },
      {
        name: "UserAndPassword",
        description: "用户名密码注册",
        value: 4,
      },
    ],
  },
  ReportCategoryTypeEnum: {
    name: "ReportCategoryTypeEnum",
    description: "ReportCategoryTypeEnum",
    items: [
      {
        name: "HttpInterface",
        description: "API接口",
        value: 1,
      },
      {
        name: "GeneralReport",
        description: "报表分类",
        value: 2,
      },
    ],
  },
  RequestFieldFormatterType: {
    name: "RequestFieldFormatterType",
    description: "RequestFieldFormatterType",
    items: [
      {
        name: "None",
        description: "未设置",
        value: 0,
      },
      {
        name: "User",
        description: "用户",
        value: 1,
      },
      {
        name: "Organize",
        description: "机构",
        value: 2,
      },
      {
        name: "Area",
        description: "地区",
        value: 3,
      },
      {
        name: "Dictionary",
        description: "数字字典",
        value: 4,
      },
      {
        name: "Enum",
        description: "枚举",
        value: 5,
      },
      {
        name: "CustomOptions",
        description: "通用下拉源",
        value: 6,
      },
      {
        name: "Callback",
        description: "自定义回调",
        value: 7,
      },
    ],
  },
  RequestFieldTypeEnum: {
    name: "RequestFieldTypeEnum",
    description: "RequestFieldTypeEnum",
    items: [
      {
        name: "Form",
        description: "查询表单",
        value: 1,
      },
      {
        name: "Other",
        description: "其它参数",
        value: 2,
      },
    ],
  },
  RoleMatchType: {
    name: "RoleMatchType",
    description: "RoleMatchType",
    items: [
      {
        name: "Equal",
        description: "等于",
        value: 1,
      },
      {
        name: "NotEqual",
        description: "不等于",
        value: 2,
      },
      {
        name: "Contains",
        description: "包含",
        value: 3,
      },
      {
        name: "GreaterThan",
        description: "大于",
        value: 4,
      },
      {
        name: "LessThan",
        description: "小于",
        value: 5,
      },
      {
        name: "EqualAndGreaterThan",
        description: "大于等于",
        value: 6,
      },
      {
        name: "EqualAndLessThan",
        description: "小于等于",
        value: 7,
      },
    ],
  },
  StructureNodeType: {
    name: "StructureNodeType",
    description: "StructureNodeType",
    items: [
      {
        name: "Group",
        description: "组",
        value: 1,
      },
      {
        name: "Region",
        description: "区域",
        value: 2,
      },
      {
        name: "Enterprise",
        description: "企业",
        value: 4,
      },
      {
        name: "Department",
        description: "部门",
        value: 8,
      },
      {
        name: "Organize",
        description: "机构",
        value: 16,
      },
      {
        name: "User",
        description: "人员",
        value: 32,
      },
    ],
  },
  SummaryBindTypeEnum: {
    name: "SummaryBindTypeEnum",
    description: "SummaryBindTypeEnum",
    items: [
      {
        name: "RowSummary",
        description: "行汇总",
        value: 1,
      },
      {
        name: "DataBind",
        description: "数据绑定",
        value: 2,
      },
      {
        name: "Custom",
        description: "自定义内容",
        value: 4,
      },
    ],
  },
  SummaryTypeEnum: {
    name: "SummaryTypeEnum",
    description: "SummaryTypeEnum",
    items: [
      {
        name: "NONE",
        description: "无",
        value: 0,
      },
      {
        name: "SUM",
        description: "求和",
        value: 1,
      },
      {
        name: "AVG",
        description: "求平均值",
        value: 2,
      },
      {
        name: "COUNT",
        description: "计数",
        value: 3,
      },
      {
        name: "MAX",
        description: "最大值",
        value: 4,
      },
      {
        name: "MIN",
        description: "最小值",
        value: 5,
      },
    ],
  },
  SystemValueType: {
    name: "SystemValueType",
    description: "SystemValueType",
    items: [
      {
        name: "SystemTime",
        description: "当前时间",
        value: 1,
      },
      {
        name: "CurrentUserId",
        description: "当前用户ID",
        value: 2,
      },
      {
        name: "CustomValue",
        description: "自定义值",
        value: 4,
      },
    ],
  },
  TakeRuleType: {
    name: "TakeRuleType",
    description: "TakeRuleType",
    items: [
      {
        name: "FixedValue",
        description: "固定值",
        value: 1,
      },
      {
        name: "RandNumber",
        description: "随机数",
        value: 2,
      },
      {
        name: "SerialNumber",
        description: "流水号",
        value: 3,
      },
      {
        name: "DateYYYYMMDD",
        description: "8位年月日",
        value: 4,
      },
      {
        name: "DateYYYY",
        description: "4位年份",
        value: 5,
      },
      {
        name: "DateYY",
        description: "2位年",
        value: 6,
      },
      {
        name: "DateMM",
        description: "2位月份",
        value: 7,
      },
      {
        name: "DateDD",
        description: "2位日期",
        value: 8,
      },
      {
        name: "TimeHHmmss",
        description: "6位时分秒",
        value: 9,
      },
      {
        name: "TimeHHmm",
        description: "4位时分",
        value: 10,
      },
      {
        name: "Timefff",
        description: "3位毫秒",
        value: 11,
      },
      {
        name: "TimeStamp12",
        description: "12位时间戳",
        value: 12,
      },
      {
        name: "TimeStamp13",
        description: "13位时间戳",
        value: 13,
      },
      {
        name: "BusinessCode",
        description: "13位时间戳",
        value: 14,
      },
    ],
  },
  TakingMethod: {
    name: "TakingMethod",
    description: "TakingMethod",
    items: [
      {
        name: "LeftValue",
        description: "右取值",
        value: 1,
      },
      {
        name: "RightValue",
        description: "右取值",
        value: 2,
      },
    ],
  },
  DocSaveFormat: {
    name: "DocSaveFormat",
    description: "DocSaveFormat",
    items: [
      {
        name: "Doc",
        description: "Doc",
        value: 10,
      },
      {
        name: "Dot",
        description: "Dot",
        value: 11,
      },
      {
        name: "Docx",
        description: "Docx",
        value: 20,
      },
      {
        name: "Docm",
        description: "Docm",
        value: 21,
      },
      {
        name: "Dotx",
        description: "Dotx",
        value: 22,
      },
      {
        name: "Dotm",
        description: "Dotm",
        value: 23,
      },
      {
        name: "FlatOpc",
        description: "FlatOpc",
        value: 24,
      },
      {
        name: "FlatOpcMacroEnabled",
        description: "FlatOpcMacroEnabled",
        value: 25,
      },
      {
        name: "FlatOpcTemplate",
        description: "FlatOpcTemplate",
        value: 26,
      },
      {
        name: "FlatOpcTemplateMacroEnabled",
        description: "FlatOpcTemplateMacroEnabled",
        value: 27,
      },
      {
        name: "Rtf",
        description: "Rtf",
        value: 30,
      },
      {
        name: "WordML",
        description: "WordML",
        value: 31,
      },
      {
        name: "Pdf",
        description: "Pdf",
        value: 40,
      },
      {
        name: "Xps",
        description: "Xps",
        value: 41,
      },
      {
        name: "XamlFixed",
        description: "XamlFixed",
        value: 42,
      },
      {
        name: "Svg",
        description: "Svg",
        value: 44,
      },
      {
        name: "HtmlFixed",
        description: "HtmlFixed",
        value: 45,
      },
      {
        name: "OpenXps",
        description: "OpenXps",
        value: 46,
      },
      {
        name: "Ps",
        description: "Ps",
        value: 47,
      },
      {
        name: "Pcl",
        description: "Pcl",
        value: 48,
      },
      {
        name: "Html",
        description: "Html",
        value: 50,
      },
      {
        name: "Mhtml",
        description: "Mhtml",
        value: 51,
      },
      {
        name: "Epub",
        description: "Epub",
        value: 52,
      },
      {
        name: "Odt",
        description: "Odt",
        value: 60,
      },
      {
        name: "Ott",
        description: "Ott",
        value: 61,
      },
      {
        name: "Text",
        description: "Text",
        value: 70,
      },
      {
        name: "XamlFlow",
        description: "XamlFlow",
        value: 71,
      },
      {
        name: "XamlFlowPack",
        description: "XamlFlowPack",
        value: 72,
      },
      {
        name: "Tiff",
        description: "Tiff",
        value: 100,
      },
      {
        name: "Png",
        description: "Png",
        value: 101,
      },
      {
        name: "Bmp",
        description: "Bmp",
        value: 102,
      },
      {
        name: "Emf",
        description: "Emf",
        value: 103,
      },
      {
        name: "Jpeg",
        description: "Jpeg",
        value: 104,
      },
      {
        name: "Gif",
        description: "Gif",
        value: 105,
      },
    ],
  },
  ExcelFileType: {
    name: "ExcelFileType",
    description: "ExcelFileType",
    items: [
      {
        name: "Excel97_2003",
        description: "Excel97_2003",
        value: 1,
      },
      {
        name: "Excel2007",
        description: "Excel2007",
        value: 2,
      },
    ],
  },
  FormFieldType: {
    name: "FormFieldType",
    description: "FormFieldType",
    items: [
      {
        name: "Text",
        description: "Text",
        value: 1,
      },
      {
        name: "Image",
        description: "Image",
        value: 2,
      },
      {
        name: "Complex",
        description: "Complex",
        value: 3,
      },
    ],
  },
  ConfigLevel: {
    name: "ConfigLevel",
    description: "ConfigLevel",
    items: [
      {
        name: "G",
        description: "全局",
        value: 1,
      },
      {
        name: "S",
        description: "系统级",
        value: 2,
      },
      {
        name: "U",
        description: "用户级",
        value: 4,
      },
    ],
  },
  ConfigType: {
    name: "ConfigType",
    description: "ConfigType",
    items: [
      {
        name: "Page",
        description: "界面配置",
        value: 1,
      },
      {
        name: "Interface",
        description: "接口配置",
        value: 2,
      },
    ],
  },
  FileType: {
    name: "FileType",
    description: "FileType",
    items: [
      {
        name: "Image",
        description: "Image",
        value: 1,
      },
      {
        name: "Audio",
        description: "Audio",
        value: 2,
      },
      {
        name: "Video",
        description: "Video",
        value: 4,
      },
      {
        name: "Document",
        description: "Document",
        value: 8,
      },
      {
        name: "Other",
        description: "Other",
        value: 16,
      },
    ],
  },
  MenuType: {
    name: "MenuType",
    description: "MenuType",
    items: [
      {
        name: "Catalog",
        description: "目录分类",
        value: 1,
      },
      {
        name: "Menu",
        description: "菜单",
        value: 2,
      },
    ],
  },
  PermissionType: {
    name: "PermissionType",
    description: "PermissionType",
    items: [
      {
        name: "Category",
        description: "分类",
        value: 0,
      },
      {
        name: "Module",
        description: "模块",
        value: 1,
      },
      {
        name: "Action",
        description: "操作",
        value: 2,
      },
    ],
  },
  SqlSorting: {
    name: "SqlSorting",
    description: "SqlSorting",
    items: [
      {
        name: "ASC",
        description: "ASC",
        value: 0,
      },
      {
        name: "DESC",
        description: "DESC",
        value: 1,
      },
    ],
  },
  Usage: {
    name: "Usage",
    description: "Usage",
    items: [
      {
        name: "Front",
        description: "前端",
        value: 1,
      },
      {
        name: "Back",
        description: "后端",
        value: 2,
      },
    ],
  },
};